<template>
  <div id="app">
    <loading v-show="isShow"></loading>
    <router-view v-show="!isShow"></router-view>
  </div>
</template>

<script>
import { mapState } from 'vuex'
import Loading from './components/loading/loading.vue'
export default {
  computed: {
    ...mapState([
      'isShow'
    ])
  },
  name: 'App',
  components: {
    Loading
  }
}
</script>

<style>
</style>
